ostree.git
14 years agoostbuild: Fix error message for unknown builtin
Colin Walters [Sun, 29 Jan 2012 21:42:54 +0000 (16:42 -0500)]
ostbuild: Fix error message for unknown builtin

14 years agoyocto: ostree depends on libarchive, not just runtime-depends
Colin Walters [Sun, 29 Jan 2012 21:33:36 +0000 (16:33 -0500)]
yocto: ostree depends on libarchive, not just runtime-depends

14 years agognomeos: Fix NetworkManager, upower, PolicyKit builds
Colin Walters [Sun, 29 Jan 2012 21:33:07 +0000 (16:33 -0500)]
gnomeos: Fix NetworkManager, upower, PolicyKit builds

14 years agognomeos: Pull in ncurses terminfo into base, and -dev into -devel image
Colin Walters [Sun, 29 Jan 2012 21:32:39 +0000 (16:32 -0500)]
gnomeos: Pull in ncurses terminfo into base, and -dev into -devel image

We need the ncurses-dev to compile texinfo, and the terminfo
is important to have in the base info.

14 years agomainloop: Ensure we reset running to True when rerun
Colin Walters [Sun, 29 Jan 2012 18:29:31 +0000 (13:29 -0500)]
mainloop: Ensure we reset running to True when rerun

Otherwise we pretty much exit immediately...

14 years agognomeos: Fix gudev introspection build
Colin Walters [Fri, 27 Jan 2012 23:25:00 +0000 (18:25 -0500)]
gnomeos: Fix gudev introspection build

14 years agognomeos-run: Ensure we create DBus uuid
Colin Walters [Fri, 27 Jan 2012 23:19:51 +0000 (18:19 -0500)]
gnomeos-run: Ensure we create DBus uuid

14 years agognomeos: Pull in vte/gnome-terminal
Colin Walters [Fri, 27 Jan 2012 16:08:30 +0000 (11:08 -0500)]
gnomeos: Pull in vte/gnome-terminal

14 years agoostbuild: Ensure we return the right process exit code
Colin Walters [Fri, 27 Jan 2012 13:51:12 +0000 (08:51 -0500)]
ostbuild: Ensure we return the right process exit code

14 years agognomeos: Add more -dev packages
Colin Walters [Fri, 27 Jan 2012 12:33:51 +0000 (07:33 -0500)]
gnomeos: Add more -dev packages

14 years agognomeos: Ensure we have libarchive for ostree-native
Colin Walters [Fri, 27 Jan 2012 12:33:34 +0000 (07:33 -0500)]
gnomeos: Ensure we have libarchive for ostree-native

14 years agognomeos: Commit to OSTree repo inside bitbake
Colin Walters [Fri, 27 Jan 2012 12:33:10 +0000 (07:33 -0500)]
gnomeos: Commit to OSTree repo inside bitbake

14 years agomanifest: Pull in gnome-panel so we work in a VM
Colin Walters [Fri, 27 Jan 2012 00:36:07 +0000 (19:36 -0500)]
manifest: Pull in gnome-panel so we work in a VM

14 years agognomeos: Make sure /dev/shm has the right perms
Colin Walters [Fri, 27 Jan 2012 00:35:06 +0000 (19:35 -0500)]
gnomeos: Make sure /dev/shm has the right perms

14 years agognomeos: Pull in a lot more PAM modules
Colin Walters [Fri, 27 Jan 2012 00:34:47 +0000 (19:34 -0500)]
gnomeos: Pull in a lot more PAM modules

14 years agognomeos: initscripts: Add "gnomeudev" script
Colin Walters [Thu, 26 Jan 2012 16:13:40 +0000 (11:13 -0500)]
gnomeos: initscripts: Add "gnomeudev" script

This is a super lame script...waiting on a systemd rebase.

14 years agognomeos-contents: Fix dependencies
Colin Walters [Wed, 25 Jan 2012 23:14:58 +0000 (18:14 -0500)]
gnomeos-contents: Fix dependencies

We need to list some things in both RDEPENDS and
RECIPE_PACKAGES, since the name differs for packages, but
they still need to be bitbake dependencies.

14 years agognomeos: Pull in more X.org stuff
Colin Walters [Wed, 25 Jan 2012 17:35:41 +0000 (12:35 -0500)]
gnomeos: Pull in more X.org stuff

14 years agognomeos-run.sh: Only create /etc/passwd if we need to
Colin Walters [Wed, 25 Jan 2012 17:32:49 +0000 (12:32 -0500)]
gnomeos-run.sh: Only create /etc/passwd if we need to

Otherwise we blow away data from "adduser"

14 years agognomeos: Pull in e2fsprogs binaries, as well as "less" and "procps"
Colin Walters [Wed, 25 Jan 2012 17:32:01 +0000 (12:32 -0500)]
gnomeos: Pull in e2fsprogs binaries, as well as "less" and "procps"

14 years agognomeos: Move /etc/passwd to /var/passwd
Colin Walters [Wed, 25 Jan 2012 02:13:00 +0000 (21:13 -0500)]
gnomeos: Move /etc/passwd to /var/passwd

This makes "adduser" etc. work without significant modification, and
in general I think is in line with "OS-version indepedent data only
modifiable by programs" so it should be in /var.

14 years agognomeos: Build themes, shared mime info
Colin Walters [Tue, 24 Jan 2012 13:42:15 +0000 (08:42 -0500)]
gnomeos: Build themes, shared mime info

14 years agognomeos: Update gdm PAM patch to allow gdm-welcome to login
Colin Walters [Tue, 24 Jan 2012 13:33:41 +0000 (08:33 -0500)]
gnomeos: Update gdm PAM patch to allow gdm-welcome to login

14 years agotriggers: Add dconf update
Colin Walters [Mon, 23 Jan 2012 23:09:33 +0000 (18:09 -0500)]
triggers: Add dconf update

Necessary for gdm at least.

14 years agocore: Add --delete option for fsck
Colin Walters [Mon, 23 Jan 2012 22:06:10 +0000 (17:06 -0500)]
core: Add --delete option for fsck

Useful to clean up any broken objects.

14 years agognomeos: Mark dbus-daemon-launch-helper as setuid
Colin Walters [Sun, 22 Jan 2012 18:31:36 +0000 (13:31 -0500)]
gnomeos: Mark dbus-daemon-launch-helper as setuid

14 years agoostbuild: Support marking files as setuid
Colin Walters [Sun, 22 Jan 2012 18:31:22 +0000 (13:31 -0500)]
ostbuild: Support marking files as setuid

14 years agocore: Add generic "commit filter" API, use it to implement statoverride
Colin Walters [Sun, 22 Jan 2012 18:27:38 +0000 (13:27 -0500)]
core: Add generic "commit filter" API, use it to implement statoverride

The builder wants the ability to mark a given file as e.g. setuid.  To
implement this, the repo now has a callback-based API when importing a
directory to modify or remove items.

The commit tool accepts a "statoverride" file as input which looks like:

+mode /path/to/file

14 years agocore: Fix test now that ls prints actual size
Colin Walters [Sun, 22 Jan 2012 18:10:01 +0000 (13:10 -0500)]
core: Fix test now that ls prints actual size

14 years agognomeos: Building gnome-shell, gnome-control-center
Colin Walters [Sat, 21 Jan 2012 16:14:17 +0000 (11:14 -0500)]
gnomeos: Building gnome-shell, gnome-control-center

14 years agognomeos-run.sh: Run triggers after checkout
Colin Walters [Sat, 21 Jan 2012 16:13:49 +0000 (11:13 -0500)]
gnomeos-run.sh: Run triggers after checkout

We need to run ldconfig etc.

14 years agoostbuild: chdir into source directory when launching debug shell
Colin Walters [Fri, 20 Jan 2012 22:52:08 +0000 (17:52 -0500)]
ostbuild: chdir into source directory when launching debug shell

14 years agognomeos-run: Only clone runtime and devel refs
Colin Walters [Fri, 20 Jan 2012 22:51:26 +0000 (17:51 -0500)]
gnomeos-run: Only clone runtime and devel refs

This is a lot faster.

14 years agocore: Allow cloning only certain refs for local clone
Colin Walters [Fri, 20 Jan 2012 22:50:59 +0000 (17:50 -0500)]
core: Allow cloning only certain refs for local clone

This is way, way faster.

14 years agognomeos: Start working on vala chain
Colin Walters [Thu, 19 Jan 2012 23:32:59 +0000 (18:32 -0500)]
gnomeos: Start working on vala chain

14 years agoostbuild: Ensure we look in correct git repository if --fetch is specified
Colin Walters [Thu, 19 Jan 2012 23:31:37 +0000 (18:31 -0500)]
ostbuild: Ensure we look in correct git repository if --fetch is specified

The mirrordir variable was bound from the previous iteration, which
was clearly broken.

14 years agognomeos: Pull in curl, zip, and eglibc locales
Colin Walters [Thu, 19 Jan 2012 23:31:10 +0000 (18:31 -0500)]
gnomeos: Pull in curl, zip, and eglibc locales

Various build deps.

14 years agomainloop: Only delete pid watch if we found the right pid
Colin Walters [Thu, 19 Jan 2012 23:30:45 +0000 (18:30 -0500)]
mainloop: Only delete pid watch if we found the right pid

14 years agoostbuild: Show cwd on failure
Colin Walters [Thu, 19 Jan 2012 21:41:59 +0000 (16:41 -0500)]
ostbuild: Show cwd on failure

This is helpful for disambiguation.

14 years agocore: Add standard::size to info we get from archives
Colin Walters [Thu, 19 Jan 2012 14:54:09 +0000 (09:54 -0500)]
core: Add standard::size to info we get from archives

This makes "ostree ls" show the file size.

14 years agognomeos: Building WebKit
Colin Walters [Wed, 18 Jan 2012 22:38:45 +0000 (17:38 -0500)]
gnomeos: Building WebKit

14 years agoostbuild: Various cleanups
Colin Walters [Wed, 18 Jan 2012 22:38:31 +0000 (17:38 -0500)]
ostbuild: Various cleanups

14 years agognomeos: Add gdb to base
Colin Walters [Wed, 18 Jan 2012 22:38:02 +0000 (17:38 -0500)]
gnomeos: Add gdb to base

14 years agoostbuild: Actually do check for Makefile
Colin Walters [Wed, 18 Jan 2012 22:08:30 +0000 (17:08 -0500)]
ostbuild: Actually do check for Makefile

Just kidding, we need the makefile path to check for .NOTPARALLEL

14 years agoostbuild: Don't check for a "Makefile"
Colin Walters [Wed, 18 Jan 2012 21:40:47 +0000 (16:40 -0500)]
ostbuild: Don't check for a "Makefile"

WebKit uses GNUmakefile which is totally valid, and this check
isn't really gaining us anything.

14 years agognomeos: Working up through WebKit
Colin Walters [Wed, 18 Jan 2012 18:37:00 +0000 (13:37 -0500)]
gnomeos: Working up through WebKit

14 years agognomeos: Pull in ICU
Colin Walters [Wed, 18 Jan 2012 18:36:38 +0000 (13:36 -0500)]
gnomeos: Pull in ICU

14 years agoostbuild: Ensure we don't retrieve submodules from the network
Colin Walters [Wed, 18 Jan 2012 18:35:53 +0000 (13:35 -0500)]
ostbuild: Ensure we don't retrieve submodules from the network

This is a bit gross...we have to manually frob the submodule
URLs to point to our mirror.

14 years agognomeos: Building a lot more up towards gnome-shell
Colin Walters [Tue, 17 Jan 2012 01:19:25 +0000 (20:19 -0500)]
gnomeos: Building a lot more up towards gnome-shell

14 years agognomeos: Pull in libgcrypt, use ostree-init from git
Colin Walters [Tue, 17 Jan 2012 01:18:54 +0000 (20:18 -0500)]
gnomeos: Pull in libgcrypt, use ostree-init from git

14 years agoostbuild: Support rm-configure flag
Colin Walters [Tue, 17 Jan 2012 01:17:39 +0000 (20:17 -0500)]
ostbuild: Support rm-configure flag

This is easier than making git patches that delete configure.

14 years agoostbuild: Actually exit with error if we fail a build
Colin Walters [Mon, 16 Jan 2012 22:50:57 +0000 (17:50 -0500)]
ostbuild: Actually exit with error if we fail a build

14 years agognomeos-run.sh: Bump to 6 gigabytes
Colin Walters [Mon, 16 Jan 2012 18:50:32 +0000 (13:50 -0500)]
gnomeos-run.sh: Bump to 6 gigabytes

We're starting to get a large image...later we may want to change
this to only clone the last two builds, but for now this is OK.

14 years agognomeos: Pull ostree-init from separate git repository
Colin Walters [Mon, 16 Jan 2012 16:12:44 +0000 (11:12 -0500)]
gnomeos: Pull ostree-init from separate git repository

14 years agoostbuild: Do fetches before resolution
Colin Walters [Mon, 16 Jan 2012 14:57:40 +0000 (09:57 -0500)]
ostbuild: Do fetches before resolution

Otherwise we get the OLD revision in the manifest.

14 years agocore: Note which artifact failed to compose
Colin Walters [Mon, 16 Jan 2012 14:57:24 +0000 (09:57 -0500)]
core: Note which artifact failed to compose

14 years agoostbuild: Fix documentation dir (should be 'doc')
Colin Walters [Mon, 16 Jan 2012 14:57:00 +0000 (09:57 -0500)]
ostbuild: Fix documentation dir (should be 'doc')

14 years agoRevert "ostbuild: Check for the Makefile in the correct directory"
Colin Walters [Mon, 16 Jan 2012 14:39:13 +0000 (09:39 -0500)]
Revert "ostbuild: Check for the Makefile in the correct directory"

I'm not sure how this made anything work...probably I was screwing
something else up.

This reverts commit aeeed8da13086baefcff4b2e5c6a62727226ad4d.

14 years agognomeos: Pull in a few X video drivers
Colin Walters [Mon, 16 Jan 2012 14:30:13 +0000 (09:30 -0500)]
gnomeos: Pull in a few X video drivers

14 years agoostbuild: Save build logs to a file, monitor output for warnings
Colin Walters [Mon, 16 Jan 2012 14:27:46 +0000 (09:27 -0500)]
ostbuild: Save build logs to a file, monitor output for warnings

This is bringing us back closer to metabuild.

14 years agognomeos: Add uid/group for dbus/gdm
Colin Walters [Mon, 16 Jan 2012 14:26:06 +0000 (09:26 -0500)]
gnomeos: Add uid/group for dbus/gdm

14 years agoostbuild: Clean up artifact splitting, put non-symlink .so in runtime
Colin Walters [Mon, 16 Jan 2012 02:45:12 +0000 (21:45 -0500)]
ostbuild: Clean up artifact splitting, put non-symlink .so in runtime

We were breaking nss which just installs libnss3.so as the real
shared library.

14 years agognomeos: Building gdm
Colin Walters [Sun, 15 Jan 2012 22:06:18 +0000 (17:06 -0500)]
gnomeos: Building gdm

14 years agognomeos: Add some build deps for pulseaudio to Yocto layer
Colin Walters [Sun, 15 Jan 2012 22:05:38 +0000 (17:05 -0500)]
gnomeos: Add some build deps for pulseaudio to Yocto layer

14 years agoostbuild: Run triggers after constructing build root
Colin Walters [Sun, 15 Jan 2012 22:04:55 +0000 (17:04 -0500)]
ostbuild: Run triggers after constructing build root

14 years agocore: Ensure we delete duplicate files in a transaction
Colin Walters [Sun, 15 Jan 2012 17:25:52 +0000 (12:25 -0500)]
core: Ensure we delete duplicate files in a transaction

If multiple files have the same hash, we need to ensure we're not
overwriting other tempfiles in the same transaction.  Instead
just delete them, since we know they're in the repo.

14 years agocore: Create a directory for each transaction
Colin Walters [Sun, 15 Jan 2012 15:47:05 +0000 (10:47 -0500)]
core: Create a directory for each transaction

This helps ensure that we can more easily identify stale tempfiles
left over if we crash in the middle of a transaction.

14 years agognomeos: Building X server, ConsoleKit, udisks, upower
Colin Walters [Sat, 14 Jan 2012 21:57:26 +0000 (16:57 -0500)]
gnomeos: Building X server, ConsoleKit, udisks, upower

14 years agognomeos: Pull in PAM and gettext-dev into Yocto layer
Colin Walters [Sat, 14 Jan 2012 21:57:05 +0000 (16:57 -0500)]
gnomeos: Pull in PAM and gettext-dev into Yocto layer

14 years agoostbuild: Make --fetch a separate option
Colin Walters [Sat, 14 Jan 2012 21:56:31 +0000 (16:56 -0500)]
ostbuild: Make --fetch a separate option

14 years agoostbuild: Check for the Makefile in the correct directory
Colin Walters [Sat, 14 Jan 2012 21:54:00 +0000 (16:54 -0500)]
ostbuild: Check for the Makefile in the correct directory

14 years agognomeos: Build ostree inside self-hosting system too
Colin Walters [Fri, 13 Jan 2012 21:46:22 +0000 (16:46 -0500)]
gnomeos: Build ostree inside self-hosting system too

14 years agobuild: Add --disable-documentation flag
Colin Walters [Fri, 13 Jan 2012 21:30:39 +0000 (16:30 -0500)]
build: Add --disable-documentation flag

We may have xsltproc, but no DTDs.

14 years agognomeos: Pull in gzip
Colin Walters [Fri, 13 Jan 2012 21:26:44 +0000 (16:26 -0500)]
gnomeos: Pull in gzip

It doesn't understand --best, and some builds assume gzip.

14 years agocore: Move triggers into separate binary: ostree-run-triggers
Colin Walters [Fri, 13 Jan 2012 20:08:27 +0000 (15:08 -0500)]
core: Move triggers into separate binary: ostree-run-triggers

I'm trying to keep ostree as being closer to just being the versioning
filesystem, so let's split out the triggers into a different binary
(although still namespaced ostree-).

14 years agognomeos: Add upstream-status for texinfo
Colin Walters [Fri, 13 Jan 2012 11:50:06 +0000 (06:50 -0500)]
gnomeos: Add upstream-status for texinfo

14 years agognomeos: Pull nss from github mirror
Colin Walters [Fri, 13 Jan 2012 04:24:56 +0000 (23:24 -0500)]
gnomeos: Pull nss from github mirror

14 years agoostbuild: Make explicit resolve (and fetch steps)
Colin Walters [Fri, 13 Jan 2012 04:22:39 +0000 (23:22 -0500)]
ostbuild: Make explicit resolve (and fetch steps)

Build should only work on already-downloaded sources.

14 years agognomeos: Pull in ISC DHCP from Debian git, make NetworkManager start
Colin Walters [Thu, 12 Jan 2012 15:55:28 +0000 (10:55 -0500)]
gnomeos: Pull in ISC DHCP from Debian git, make NetworkManager start

14 years agoostbuild: Lots of stuff
Colin Walters [Thu, 12 Jan 2012 15:48:11 +0000 (10:48 -0500)]
ostbuild: Lots of stuff

* Only create one build commit which contains multiple artifact trees,
  rather than one per artifact.  This is atomic.  We can use the new
  compose syntax like foo:/devel to slice out the /devel tree.
* Create the minimal buildroot for each component by composing the
  previous components in the build order, instead of continually
  updating one big tree.
* Ensure the artifact builder gets empty directories in /etc

14 years agognomeos: Install libuuid and libblkid
Colin Walters [Thu, 12 Jan 2012 15:46:42 +0000 (10:46 -0500)]
gnomeos: Install libuuid and libblkid

So NetworkManager can use them.

14 years agognomeos-run: Put current symlink in correct place
Colin Walters [Thu, 12 Jan 2012 03:54:35 +0000 (22:54 -0500)]
gnomeos-run: Put current symlink in correct place

14 years agognomeos: initscripts: Add NetworkManager and dbus, kill stupid arm stuff
Colin Walters [Wed, 11 Jan 2012 19:36:04 +0000 (14:36 -0500)]
gnomeos: initscripts: Add NetworkManager and dbus, kill stupid arm stuff

14 years agoostbuild: Optionally log start of commands we want output from too
Colin Walters [Wed, 11 Jan 2012 19:33:48 +0000 (14:33 -0500)]
ostbuild: Optionally log start of commands we want output from too

compose is slow, but we also want output.

14 years agocore: Fix compose tests
Colin Walters [Wed, 11 Jan 2012 19:33:13 +0000 (14:33 -0500)]
core: Fix compose tests

14 years agoostbuild: Import odict from gobject-introspection
Colin Walters [Wed, 11 Jan 2012 19:32:37 +0000 (14:32 -0500)]
ostbuild: Import odict from gobject-introspection

14 years agocore: While walking mtrees during commit, ensure the referenced path is resolved
Colin Walters [Wed, 11 Jan 2012 18:42:59 +0000 (13:42 -0500)]
core: While walking mtrees during commit, ensure the referenced path is resolved

This gives us a clean error instead of an assertion.

14 years agocore: Error out on an empty compose
Colin Walters [Wed, 11 Jan 2012 18:42:37 +0000 (13:42 -0500)]
core: Error out on an empty compose

14 years agocore: Add from-file argument to compose
Colin Walters [Tue, 10 Jan 2012 23:55:00 +0000 (18:55 -0500)]
core: Add from-file argument to compose

We don't want to have to pass a million arguments.

14 years agognomeos: Pull in ppp and iptables, enough to get NetworkManager to build
Colin Walters [Tue, 10 Jan 2012 18:20:56 +0000 (13:20 -0500)]
gnomeos: Pull in ppp and iptables, enough to get NetworkManager to build

14 years agognomeos: Pull in NSS and SQLite as tarball-from-git imports
Colin Walters [Tue, 10 Jan 2012 00:57:29 +0000 (19:57 -0500)]
gnomeos: Pull in NSS and SQLite as tarball-from-git imports

14 years agognomeos: Pull in libuuid and libblkid from util-linux
Colin Walters [Tue, 10 Jan 2012 00:56:59 +0000 (19:56 -0500)]
gnomeos: Pull in libuuid and libblkid from util-linux

14 years agocompile-one: Fix build of modules that don't support srcdir != builddir
Colin Walters [Tue, 10 Jan 2012 00:56:03 +0000 (19:56 -0500)]
compile-one: Fix build of modules that don't support srcdir != builddir

We need to run configure and make/make install in the _build
directory.

14 years agoostbuild: Make --debug-shell not exit immediately
Colin Walters [Mon, 9 Jan 2012 16:10:10 +0000 (11:10 -0500)]
ostbuild: Make --debug-shell not exit immediately

We need to keep stdin open.

14 years agognomeos: Work on updating udev
Colin Walters [Sun, 8 Jan 2012 22:33:01 +0000 (17:33 -0500)]
gnomeos: Work on updating udev

14 years agognomeos: Getting up to NetworkManager now
Colin Walters [Sun, 8 Jan 2012 19:21:02 +0000 (14:21 -0500)]
gnomeos: Getting up to NetworkManager now

14 years agoostbuild: Allow specifying no components to mean "all"
Colin Walters [Sun, 8 Jan 2012 19:20:52 +0000 (14:20 -0500)]
ostbuild: Allow specifying no components to mean "all"

14 years agognomeos: Add perl-XML-Parser to devel image
Colin Walters [Sun, 8 Jan 2012 19:20:26 +0000 (14:20 -0500)]
gnomeos: Add perl-XML-Parser to devel image

Needed by intltool

14 years agocore: Make diff accept one argument too to mean "foo^ foo"
Colin Walters [Sun, 8 Jan 2012 19:20:07 +0000 (14:20 -0500)]
core: Make diff accept one argument too to mean "foo^ foo"

14 years agoostbuild: Allow specifying components to build on the command line
Colin Walters [Sat, 7 Jan 2012 16:47:51 +0000 (11:47 -0500)]
ostbuild: Allow specifying components to build on the command line